﻿using System;

namespace MineSweeperCrip
{
    public class MineFieldAnalyser
    {
        public bool IsMineFieldCorrect(string[] MineField)
        {
            var intLenghtOfFirstMineFieldRow = MineField[0].Length;

            foreach (var strMineFieldRows in MineField)
            {
                if(strMineFieldRows.Length != intLenghtOfFirstMineFieldRow)
                {
                    return false;
                }
            }

            return true;
        }
    }
}